package com.cadre.system.service.impl;

import com.cadre.system.domain.officer.B01;
import com.cadre.system.mapper.B01Mapper;
import com.cadre.system.service.B01Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("B01Service")
public class B01ServiceImpl implements B01Service {
    @Autowired
    private B01Mapper b01Mapper;

    @Override // com.tdqy.cadre.modular.profess.service.B01Service
    public List<B01> selectByMaps(Map<String, Object> map) {
        return this.b01Mapper.selectByMaps(map);
    }

    @Override // com.tdqy.cadre.modular.profess.service.B01Service
    public int updateParentid(String b0121, String unitcode) {
        return this.b01Mapper.updateParentid(b0121, unitcode);
    }

    @Override // com.tdqy.cadre.modular.profess.service.B01Service
    public int updateParentidNull(String parentid) {
        return this.b01Mapper.updateParentidNull(parentid);
    }

    @Override // com.tdqy.cadre.modular.profess.service.B01Service
    public int updateSerialNum() {
        return this.b01Mapper.updateSerialNum();
    }

    @Override // com.tdqy.cadre.modular.profess.service.B01Service
    public B01 selectById(String unitid) {
        return (B01) this.b01Mapper.selectById(unitid);
    }
}
